package com.googlecode.olabs.gui.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.TabPanel;

public class Olabs implements EntryPoint {

	public static final int VERSION_MAJOR = 0;
	public static final int VERSION_MINOR = 2;
	public static final String VERSION_STRING = VERSION_MAJOR + "."
			+ VERSION_MINOR + "-SNAPSHOT";

	public void onModuleLoad() {
		final TabPanel tabPanel = new TabPanel();
		final RootPanel rootPanel = RootPanel.get("mainGui");
		rootPanel.add(tabPanel);

		tabPanel.add(new MainMenu(), "Real GUI");
		tabPanel.add(new TestGui(), "Testing");
		tabPanel.add(new PrefsPage(), "Preferences");
		tabPanel.add(new AboutPage(), "About");

		tabPanel.selectTab(0);
	}
}
